package com.cupcorn.balapkarung;

import android.graphics.Color;

import com.cupcorn.lib.Anchor;
import com.cupcorn.lib.Ratio;
import com.cupcorn.lib.game.element.GameElementFont;
import com.cupcorn.lib.game.element.GameElementText;

public interface GameDefineText
{	
	int							FONT_COMIC_36					= 0;
	int							FONT_COMIC_60					= FONT_COMIC_36 + 1;
	int							FONT_COMIC_28_BLACK				= FONT_COMIC_60 + 1;
	
	// ratio disini untuk ukuran font
	GameElementFont[]			FONT							=
	{
		new GameElementFont("fnt/comic.ttf", 36, Color.WHITE, Ratio.HEIGHT),
		new GameElementFont("fnt/comic.ttf", 60, Color.WHITE, Ratio.HEIGHT),
		new GameElementFont("fnt/comic.ttf", 28, Color.WHITE, Ratio.HEIGHT),
	};

	int							TEXT_HIGHSCORE_OFFLINE			= 0;
	int							TEXT_YOUR_SCORE					= TEXT_HIGHSCORE_OFFLINE + 1;
	int							TEXT_HIGHSCORE					= TEXT_YOUR_SCORE + 1;
	int							TEXT_SCORE_GAMEOVER				= TEXT_HIGHSCORE + 1;
	int							TEXT_SCORE						= TEXT_SCORE_GAMEOVER + 1;
	int							TEXT_SCORE_MOVE					= TEXT_SCORE + 1;
	int							TEXT_TRACE						= TEXT_SCORE_MOVE + 1;
	
	// ratio disini untuk posisi text
	GameElementText[]			TEXT = 
	{
		new GameElementText("" + LocalData.highscoreOffline, FONT_COMIC_36, 0, 0, 10, Anchor.CENTER, Ratio.HEIGHT),
		new GameElementText("YOUR SCORE", FONT_COMIC_36, 0, -130, Anchor.CENTER, Ratio.WIDTH),
		new GameElementText("NEW HIGH SCORE", FONT_COMIC_36, 0, -130, Anchor.CENTER, Ratio.WIDTH),
		new GameElementText("", FONT_COMIC_60, 0, -40, 12, Anchor.CENTER, Ratio.WIDTH),
		new GameElementText("Score : 0", FONT_COMIC_36, 10, 10, 15, Anchor.TOP_LEFT, Ratio.DEFAULT),
		new GameElementText("", FONT_COMIC_36, 0, 0, 15, Anchor.CENTER, Ratio.DEFAULT),
		new GameElementText("", FONT_COMIC_36, 0, 0, 25, Anchor.TOP_CENTER, Ratio.HEIGHT),
	};
	
	
	GameElementText[]			MC_NAME =
	{
		new GameElementText("", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.NONE),
	};
	
	
	GameElementText[]			HIGHSCORE_ONLINE =
	{
		new GameElementText("name", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("5", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("name", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("4", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("name", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("3", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("name", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("2", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("name", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("1", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("name", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("0", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
	};
	
	int							USER_FIRST = 0;
	int							SCORE_FIRST = USER_FIRST + 1;
	int							USER_SECOND = SCORE_FIRST + 1;
	int							SCORE_SECOND = USER_SECOND + 1;
	int							USER_THIRD = SCORE_SECOND + 1;
	int							SCORE_THIRD = USER_THIRD + 1;
	int							USER_FOURTH = SCORE_THIRD + 1;
	int							SCORE_FOURTH = USER_FOURTH + 1;
	int							USER_FIFTH = SCORE_FOURTH + 1;
	int							SCORE_FIFTH = USER_FIFTH + 1;
	int							USER_SELF = SCORE_FIFTH + 1;
	int							SCORE_SELF = USER_SELF + 1;
	
	GameElementText[]			ABOUT_NAME =
	{
		new GameElementText("Balap Karung v102 MIN", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("Project Leader", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("Ali Iqbal", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("Game Designer", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("Erfin Cipta", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("Yusuf Riansa \"Spikey\"", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("Programmer", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("Agoes Tri", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("Dwi Ariyanto \"Claity Seizo\"", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("Dwi Prabowo \"Juli\"", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("Roni Al Kautsar", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("Artist", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("Made Dimas Wirawan", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("Errin Citra", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("Sound and Music Engineer", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("Retno Wulandari", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("Support", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
		new GameElementText("Ikhsan", FONT_COMIC_28_BLACK, 0, 0, 50, 1, true, Anchor.TOP_CENTER, Ratio.HEIGHT),
	};
		
	int							ABOUT_TITLE = 0;
	int							PL_ID = ABOUT_TITLE + 1;
	int							PL_1 = PL_ID + 1;
	int							GD_ID = PL_1 + 1;
	int							GD_1 = GD_ID + 1;
	int							GD_2 = GD_1 + 1;
	int							PRG_ID = GD_2 + 1;
	int							PRG_1 = PRG_ID + 1;
	int							PRG_2 = PRG_1 + 1;
	int							PRG_3 = PRG_2 + 1;
	int							PRG_4 = PRG_3 + 1;
	int							ART_ID = PRG_4 + 1;
	int							ART_1 = ART_ID + 1;
	int							ART_2 = ART_1 + 1;
	int							SND_ID = ART_2 + 1;
	int							SND_1 = SND_ID + 1;
	int							SPR_ID = SND_1 + 1;
	int							SPR_1 = SPR_ID + 1;
}